/*
 *************************************************************************
 *西瑞克斯研发管理系统
 *版 本: 1.0   
 *日 期：02/16/2012    
 *作 者： 王浩 QQ：873987060   
 *************************************************************************   
 */
package com.application.yfappointtask.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import com.manager.IBaseBean;
import java.util.Date;

/**
 * 
 * Description:YfAppointTask实体<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/16/2012
 * 
 */
@Entity
@Table(name = "yf_appoint_task")
public class YfAppointTask implements IBaseBean {

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;

	public YfAppointTask() {

	}

	@Id
	@Column(name = "id")
	private String id; // $field.label

	@Column(name = "task_belong")
	private String taskBelong; // $field.label

	@Column(name = "task_content")
	private String taskContent; // $field.label

	@Column(name = "complete_date")
	private Date completeDate; // $field.label

	@Column(name = "opinion")
	private String opinion; // $field.label

	@Column(name = "exe_result")
	private String exeResult; // $field.label

	@Column(name = "evaluate")
	private Long evaluate; // $field.label

	@Column(name = "remark")
	private String remark; // $field.label

	@Column(name = "audit_status")
	private Long auditStatus; // $field.label

	@Column(name = "process_id")
	private String processId; // $field.label

	@Column(name = "org")
	private String org; // $field.label

	@Column(name = "operateid",updatable=false)
	private String operateid; // $field.label

	@Column(name = "create_date")
	private Date createDate; // $field.label

	@Transient
	private String projectName;
	@Transient
	private String projectOrg;
	@Transient
	private Long projectType;
	@Transient
	private String workItemId;
	
	@Transient
	private String rname;
	
	@Transient
	private String rname2;
	
	public String getRname2() {
		return rname2;
	}

	public void setRname2(String rname2) {
		this.rname2 = rname2;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectOrg() {
		return projectOrg;
	}

	public void setProjectOrg(String projectOrg) {
		this.projectOrg = projectOrg;
	}

	public Long getProjectType() {
		return projectType;
	}

	public void setProjectType(Long projectType) {
		this.projectType = projectType;
	}

	public String getWorkItemId() {
		return workItemId;
	}

	public void setWorkItemId(String workItemId) {
		this.workItemId = workItemId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Id.
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * @param id
	 *            Set the id.
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the TaskBelong.
	 */
	public String getTaskBelong() {
		return this.taskBelong;
	}

	/**
	 * @param taskBelong
	 *            Set the taskBelong.
	 */
	public void setTaskBelong(String taskBelong) {
		this.taskBelong = taskBelong;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the TaskContent.
	 */
	public String getTaskContent() {
		return this.taskContent;
	}

	/**
	 * @param taskContent
	 *            Set the taskContent.
	 */
	public void setTaskContent(String taskContent) {
		this.taskContent = taskContent;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CompleteDate.
	 */
	public Date getCompleteDate() {
		return this.completeDate;
	}

	/**
	 * @param completeDate
	 *            Set the completeDate.
	 */
	public void setCompleteDate(Date completeDate) {
		this.completeDate = completeDate;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Opinion.
	 */
	public String getOpinion() {
		return this.opinion;
	}

	/**
	 * @param opinion
	 *            Set the opinion.
	 */
	public void setOpinion(String opinion) {
		this.opinion = opinion;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ExeResult.
	 */
	public String getExeResult() {
		return this.exeResult;
	}

	/**
	 * @param exeResult
	 *            Set the exeResult.
	 */
	public void setExeResult(String exeResult) {
		this.exeResult = exeResult;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Evaluate.
	 */
	public Long getEvaluate() {
		return this.evaluate;
	}

	/**
	 * @param evaluate
	 *            Set the evaluate.
	 */
	public void setEvaluate(Long evaluate) {
		this.evaluate = evaluate;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Remark.
	 */
	public String getRemark() {
		return this.remark;
	}

	/**
	 * @param remark
	 *            Set the remark.
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the AuditStatus.
	 */
	public Long getAuditStatus() {
		return this.auditStatus;
	}

	/**
	 * @param auditStatus
	 *            Set the auditStatus.
	 */
	public void setAuditStatus(Long auditStatus) {
		this.auditStatus = auditStatus;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the ProcessId.
	 */
	public String getProcessId() {
		return this.processId;
	}

	/**
	 * @param processId
	 *            Set the processId.
	 */
	public void setProcessId(String processId) {
		this.processId = processId;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Org.
	 */
	public String getOrg() {
		return this.org;
	}

	/**
	 * @param org
	 *            Set the org.
	 */
	public void setOrg(String org) {
		this.org = org;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the Operateid.
	 */
	public String getOperateid() {
		return this.operateid;
	}

	/**
	 * @param operateid
	 *            Set the operateid.
	 */
	public void setOperateid(String operateid) {
		this.operateid = operateid;
	}

	/**
	 * ${field.getLabel()}
	 * 
	 * @return Returns the CreateDate.
	 */
	public Date getCreateDate() {
		return this.createDate;
	}

	/**
	 * @param createDate
	 *            Set the createDate.
	 */
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String toString() {
		return ReflectionToStringBuilder.toString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

	public String getRname() {
		return rname;
	}

	public void setRname(String rname) {
		this.rname = rname;
	}
}
